package com.coldchain.admin.config.service;

import com.coldchain.admin.config.entity.GoodsClassify;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author fangliai
 * @since 2018-11-09
 */
public interface IGoodsClassifyService extends IService<GoodsClassify> {

    /**
     * 编辑商品分类
     * @param goodsClassify
     * @return
     * @throws Exception
     */
    boolean edit(GoodsClassify goodsClassify) throws  Exception;


    /**
     * 获取商品分类树形结构集
     * @return
     */
    List<GoodsClassify> getGoodsClassTree();

}
